﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DAL;
using System.Data.Objects;
using Entities;

namespace UnitTests.Helpers
{
    class MockContext : IContext
    {
        private IObjectSet<AuditedOperation> _auditedOperations;

        IObjectSet<AuditedOperation> IContext.AuditedOperations
        {
            get { return _auditedOperations ?? new MockObjectSet<AuditedOperation>(); }
        }

        IObjectSet<BotPeriodHour> IContext.BotPeriodHours
        {
            get { throw new NotImplementedException(); }
        }

        IObjectSet<BotRecipient> IContext.BotRecipients
        {
            get { throw new NotImplementedException(); }
        }

        IObjectSet<BOT> IContext.BOTS
        {
            get { throw new NotImplementedException(); }
        }

        IObjectSet<BotsMachine> IContext.BotsMachines
        {
            get { throw new NotImplementedException(); }
        }

        IObjectSet<BotsOperation> IContext.BotsOperations
        {
            get { throw new NotImplementedException(); }
        }

        IObjectSet<BotsUser> IContext.BotsUsers
        {
            get { throw new NotImplementedException(); }
        }

        ObjectResult<AuditedOperation> IContext.GetByBotName(string botName, DateTime? periodStart, DateTime? periodEnd, string user, int? maxRecordsBack, string sortColumn, string sortDirection)
        {
            throw new NotImplementedException();
        }

        IObjectSet<Operation> IContext.Operations
        {
            get { throw new NotImplementedException(); }
        }


        public ObjectSet<TEntity> CreateObjectSet<TEntity>() where TEntity : class
        {
            throw new NotImplementedException();
        }

        public ObjectStateManager ObjectStateManager
        {
            get { throw new NotImplementedException(); }
        }


        public IObjectSet<User> Users
        {
            get { throw new NotImplementedException(); }
        }
    }
}
